package com.xhsj.user.pms.workflow.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 流程指派人表
 * </p>
 *
 * @author suxiaolin
 * @since 2020-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_pam_workflow_identitylink")
public class WorkflowIdentitylink extends Model<WorkflowIdentitylink> {
    /**
     * 流程参与者主键ID
     */
    @TableId("id")
    private String id;
    /**
     * 用户ID
     */
    @TableField("identitylink_user_id")
    private Long identitylinkUserId;
    /**
     * 关联角色ID主键
     */
    @TableField("identitylink_group_id")
    private Long identitylinkGroupId;
    /**
     * 关联部门ID主键
     */
    @TableField("identitylink_dept_id")
    private Long identitylinkDeptId;
    /**
     * 关联状态表ID主键
     */
    @TableField("node_name")
    private String nodeName;
    /**
     * 关联交底书主键ID
     */
    @TableField("disclosure_id")
    private String disclosureId;
    /**
     * 关联节点表主键ID
     */
    @TableField("node_id")
    private String nodeId;
    /**
     * 更新时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 审核状态 (0 未审核 1 审核通过 2 审核退回)
     */
    @TableField("examine_status")
    private int examineStatus;
    /**
     * 跳转的页面
     */
    @TableField("jump_form")
    private int jumpForm;

    @TableField(exist = false)
    private Integer status;

    private static final long serialVersionUID = 1L;

}